Skip to content

Conversation

@kraenhansen
Copy link
Collaborator

Merging this PR will:

  • Add visionOS and tvOS triplets to Ferric
  • Add a new CI job to test running this with the nightly Rust compiler

@kraenhansen kraenhansen self-assigned this Oct 27, 2025
@kraenhansen kraenhansen added Ferric 🦀 Apple 🍎 Anything related to the Apple platform (iOS, macOS, Cocoapods, Xcode, XCFrameworks, etc.) labels Oct 27, 2025
@kraenhansen kraenhansen marked this pull request as ready for review October 27, 2025 16:23
@kraenhansen kraenhansen requested a review from Copilot October 27, 2025 16:24
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR adds support for visionOS and tvOS target triplets to the Ferric Rust build tooling and implements a CI workflow to test these platforms using the nightly Rust compiler.

Key changes:

  • Introduces third-tier target support requiring nightly Rust toolchain with build-std
  • Refactors build scripts to use composable node --run commands
  • Adds comprehensive CI testing for Apple platform triplets

Reviewed Changes

Copilot reviewed 5 out of 5 changed files in this pull request and generated 1 comment.

Show a summary per file
File Description
packages/host/package.json Refactored build scripts to use composable commands and renamed all-triplets to all
packages/ferric/src/targets.ts Added visionOS/tvOS targets, implemented nightly toolchain detection, and renamed ensureInstalledTargets to ensureAvailableTargets
packages/ferric/src/cargo.ts Added XCFramework mappings for visionOS/tvOS and conditional nightly toolchain usage with build-std flag
packages/ferric/src/build.ts Added tvOS simulator library combining logic to match existing iOS simulator handling
.github/workflows/check.yml Added new CI job to test ferric Apple triplets with nightly Rust compiler

- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: lts/jod
Copy link

Copilot AI Oct 27, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Corrected spelling of 'jod' to 'jod'. This should be 'lts/iron' or another valid LTS codename.

Suggested change
node-version: lts/jod
node-version: lts/iron

Copilot uses AI. Check for mistakes.
Copilot AI added a commit that referenced this pull request Oct 27, 2025
Co-authored-by: kraenhansen <1243959+kraenhansen@users.noreply.github.com>
@kraenhansen kraenhansen merged commit 8398f76 into main Oct 27, 2025
7 checks passed
@kraenhansen kraenhansen deleted the kh/ferric-vision-and-tvos-triplets branch October 27, 2025 17:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Apple 🍎 Anything related to the Apple platform (iOS, macOS, Cocoapods, Xcode, XCFrameworks, etc.) Ferric 🦀

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants